package com.hishop.service;

import com.hishop.common.ServerResponse;
import com.hishop.pojo.Category;

import java.util.List;

/**
 * Created by hejie on 2017/7/16.
 */
public interface ICategoryService {
    public ServerResponse addCategory(String categoryName, Integer parentId);
    public ServerResponse updateCategoryName(Integer categoryId, String categoryName);
    public ServerResponse<List<Category>> getChildrenParallelCategory(Integer categoryId);
    public ServerResponse<List<Category>> getCategoryAndDeepChildrenCategory(Integer categoryId);
}
